package dao;

import entity.category;
import entity.tea;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface teaDao {
    void insert(tea a);
    void update(tea a);
    void delete(int id);
    List<tea> findAll(@Param("start")int start,@Param("end")int end,@Param("name")String name);
    int count(@Param("name")String name);
    List<category> findCate();
    tea findone(int id);
}
